package net.wanho.customerManage.service;

import net.wanho.commons.exception.DaoException;
import net.wanho.commons.exception.ServiceException;
import net.wanho.customerManage.po.Customer;
import net.wanho.customerManage.query.CustomerQuery;
import net.wanho.customerManage.vo.CustomerVo;

import java.util.List;

public interface CustomerService {
    List<CustomerVo> selectAllCustomer() throws ServiceException;
    List<CustomerVo> selectByCondCustomer(CustomerQuery customerQuery) throws ServiceException ;
    CustomerVo selectByIdCustomer(Integer customerId) throws ServiceException ;
    Integer insertCustomer(Customer customer) throws ServiceException ;
}
